/* A4 风格的样式 */
@font-face {
  font-family: 'unicons';
  src: url(":/resource/fonts/unicons/unicons.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

/* 全局变量 */
:root {
    --primary-color: #4f7dde;
    --primary-light: #6b8fe2;
    --primary-dark: #3963c7;
    --background-color: #e4e4e4;
    --paper-color: #fff;
    --text-color: #000;
    --text-light: #666;
    --text-lighter: #9c9caf;
    --button-hover: #eef2fb;
}

/* 按钮样式 */
.a4-button {
    background-color: var(--paper-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    padding: 12px 24px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
}

.a4-button:hover {
    background-color: var(--primary-color);
    color: var(--paper-color);
}

.a4-button-icon {
    margin-right: 10px;
}

/* 图标样式 */
[class^="uil-"]:before, [class*=" uil-"]:before {
  font-family: "unicons";
  font-style: normal;
  font-weight: normal;
  display: inline-block;
  text-decoration: inherit;
  text-align: center;
  font-variant: normal;
  text-transform: none;
  line-height: 1em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.uil-user:before { content: '\ebe2'; }
.uil-user-circle:before { content: '\ebdb'; }
.uil-lock:before { content: '\ea8c'; }
.uil-sign-in-alt:before { content: '\eb52'; }

/* 主窗口样式 */
.a4-window {
    background-color: var(--background-color);
    padding: 40px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.a4-paper {
    background-color: var(--paper-color);
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 48px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.a4-title {
    font-size: 36px;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 24px;
}

.a4-description {
    font-size: 16px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 48px;
    line-height: 1.6;
}

/* 特别布局 */
.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

/* 页脚样式 */
.a4-footer {
    margin-top: 40px;
    color: var(--text-lighter);
    font-size: 14px;
    text-align: center;
}
